<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0035)http://dh.301688.com/baiduWord.html -->
<!--STATUS OK--><HTML><HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<STYLE>BODY {
	BACKGROUND: #ffffff; MARGIN: 0px
}
TD {
	FONT-SIZE: 12px; LINE-HEIGHT: 18px
}
DIV {
	FONT-SIZE: 12px; LINE-HEIGHT: 18px
}
A {
	COLOR: #333333; TEXT-DECORATION: underline
}
.logo {
	WIDTH: 92px
}
.logo IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
</STYLE>

<META content="MSHTML 6.00.2900.6148" name=GENERATOR>
<script language=javascript src="http://www.baidu.com/ad.js?ZEJPJM"></script>
</HEAD>
<BODY>
<SCRIPT>
	var frmact = new Array();
var frmnm = new Array();
var frmid = new Array();
frmact[0] = "http://news.baidu.com/ns";
frmact[1] = "http://www.baidu.com/baidu";
frmact[2] = "http://post.baidu.com/f";
frmact[3] = "http://zhidao.baidu.com/q";
frmact[4] = "http://mp3.baidu.com/m";
frmact[5] = "http://image.baidu.com/i";
frmact[6] = "http://bk.baidu.com/w";
frmact[7] = "http://video.baidu.com/v";
frmact[8] = "http://v.baidu.com/srh.php";

frmnm[0] = "新闻";
frmnm[1] = "网页";
frmnm[2] = "贴吧";
frmnm[3] = "知道";
frmnm[4] = "MP3";
frmnm[5] = "图片";
frmnm[6] = "百科";
frmnm[7] = "视频";
frmnm[8] = "影视";

frmid[0] = "1";
frmid[1] = "2";
frmid[2] = "3";
frmid[3] = "4";
frmid[4] = "5";
frmid[5] = "6";
frmid[6] = "7";
frmid[7] = "9";
frmid[8] = "15";



var sts = '';
var si = sts && sts.split(/(%3b)|;/i)[0];
var defid =2;

//if (frmid[0] == "1") {var bd_idx=1;}else{var bd_idx=0;}
var bd_idx=defid;

for (var i = frmid.length - 1; i >= 0; i--) {
	if (frmid[i] == defid) {
		bd_idx = i;
	}
}

function bd_chg_idx(idx)
{
 bd_idx=idx;
}

function addhiddenEle(parentEle, childEleName, childEleValue)
{
	for (var i=0; i < childEleName.length; i++) {
		 var ur = document.createElement("input");   
		  ur.type = "hidden";   
		  ur.name = childEleName[i];   
		  ur.value = childEleValue[i]; 
		  parentEle.appendChild(ur); 
	}
}

function removeallhiddenEle(parentEle)
{
	 for (var i = parentEle.length - 1; i >= 0; i--) {
    var childEle = parentEle.elements[i];
		if(childEle.type == "hidden"){
			childEle.parentNode.removeChild(childEle);
		}
	}
}

function gowhere(formname)
{
 var url;
 var idx = bd_idx;
 if (frmact[idx] == null || frmact[idx] == "")  idx = "0";
 url = frmact[idx];

 removeallhiddenEle(formname);

 switch(frmid[idx]){
	case "1":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "cl";
		childEleValue[0] = "2";

		childEleName[1] = "ct";
		childEleValue[1] = "0";

		childEleName[2] = "rn";
		childEleValue[2] = "20";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "2":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "tn";
		childEleValue[0] = "ts38_pg";		

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "3":
		
		formname.word.name = "kw";

		break;

	case "4":
	
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ct";
		childEleValue[0] = "17";

		childEleName[1] = "pn";
		childEleValue[1] = "0";

		childEleName[2] = "rn";
		childEleValue[2] = "10";

		childEleName[3] = "tn";
		childEleValue[3] = "ikaslist";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "5":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ct";
		childEleValue[0] = "134217728";

		childEleName[1] = "lm";
		childEleValue[1] = "-1";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "6":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ct";
		childEleValue[0] = "201326592";

		childEleName[1] = "lm";
		childEleValue[1] = "-1";

		childEleName[2] = "cl";
		childEleValue[2] = "2";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "7":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ct";
		childEleValue[0] = "17";

		childEleName[1] = "lm";
		childEleValue[1] = "0";



		childEleName[2] = "tn";
		childEleValue[2] = "baiduWikiSearch";

		childEleName[3] = "pn";
		childEleValue[3] = "0";

		childEleName[4] = "rn";
		childEleValue[4] = "0";

		childEleName[5] = "submit";
		childEleValue[5] = "search";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "8":
		return false;

	case "9":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ct";
		childEleValue[0] = "301989888";

		childEleName[1] = "pn";
		childEleValue[1] = "0";

		childEleName[2] = "rn";
		childEleValue[2] = "20";

		childEleName[3] = "db";
		childEleValue[3] = "0";

		childEleName[4] = "s";
		childEleValue[4] = "0";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "10":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "f";
		childEleValue[0] = "ms";

		childEleName[1] = "rn";
		childEleValue[1] = "10";

		childEleName[2] = "tn";
		childEleValue[2] = "baidump3lyric";

		childEleName[3] = "ct";
		childEleValue[3] = "150994944";

		childEleName[4] = "lm";
		childEleValue[4] = "-1";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "11":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "ie";
		childEleValue[0] = "gb2312";		

		childEleName[1] = "ct";
		childEleValue[1] = "1048576";

		childEleName[2] = "cl";
		childEleValue[2] = "3";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "12":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "tn";
		childEleValue[0] = "baiduyp";		

		childEleName[1] = "ct";
		childEleValue[1] = "553648128";

		childEleName[2] = "rn";
		childEleValue[2] = "20";

		childEleName[3] = "a";
		childEleValue[3] = "-1";

		childEleName[4] = "lm";
		childEleValue[4] = "-1";

		childEleName[5] = "z";
		childEleValue[5] = "-1";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "13":
		var childEleName = new Array();
		var childEleValue = new Array();

		childEleName[0] = "tn";
		childEleValue[0] = "baiduchild";		

		childEleName[1] = "cl";
		childEleValue[1] = "3";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "14":
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "tn";
		childEleValue[0] = "baidujiaoyu";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "15":
	
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "if";
		childEleValue[0] = "0";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "16":
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "tn";
		childEleValue[0] = "baidubook";

		childEleName[1] = "ct";
		childEleValue[1] = "2097152";

		childEleName[2] = "si";
		childEleValue[2] = "book.baidu.com";

		childEleName[3] = "cl";
		childEleValue[3] = "3";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "17":
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "tn";
		childEleValue[0] = "baiduguoxue";

		childEleName[1] = "ct";
		childEleValue[1] = "2097152";

		childEleName[2] = "si";
		childEleValue[2] = "guoxue.baidu.com";

		childEleName[3] = "cl";
		childEleValue[3] = "3";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;
	case "18":
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "type";
		childEleValue[0] = "0";

		childEleName[1] = "sort";
		childEleValue[1] = "1";

		childEleName[2] = "entry";
		childEleValue[2] = "1";

		childEleName[3] = "region";
		childEleValue[3] = "0";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "19":
		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "tn";
		childEleValue[0] = "baidugov";

		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	case "99":

		var childEleName = new Array();
		var childEleValue = new Array();
		
		childEleName[0] = "tn";
		childEleValue[0] = "ts38_pg";

		childEleName[1] = "cl";
		childEleValue[1] = "3";

		childEleName[2] = "ct";
		childEleValue[2] = "2097152";

		childEleName[3] = "si";
		childEleValue[3] = si;

		childEleName[4] = "sts";
		childEleValue[4] = sts;


		addhiddenEle(formname, childEleName, childEleValue);

		formname.word.name = "word";

		break;

	default:
		return false;
 }

 formname.action = url;
 return true;
} 
</SCRIPT>

<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  <FORM id=search_form name=search_form onSubmit="return gowhere(this)" 
  target=_blank>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0>
        <TBODY>
        <TR>
          <TD class=logo align=middle><A 
            href="http://www.baidu.com/index.php?tn=ts38_pg" target=_blank><IMG src="images/unlogo01.gif" 
            alt=百度中文搜索引擎 width="78" height="27"></A></TD>
          <TD vAlign=bottom noWrap><INPUT id=word 
            onblur="if (this.value =='') this.value='请输入关键字'" 
            onmouseover=this.focus() style="WIDTH: 280px" onfocus=this.select() 
            onclick="if (this.value=='请输入关键字') this.value=''" value=请输入关键字 
            name=word><SPAN id=tops name="tops"></SPAN>
            <SCRIPT>
	content = '<select name="select" onChange="bd_chg_idx(this.options[this.selectedIndex].value);">';
	for (i = 0; i < frmact.length; i++)
	{
		if (frmid[i] == defid) {content += '<option selected value="' + i + '" >' + frmnm[i] + '</option>';}
			else {content += '<option value="' + i + '" >' + frmnm[i] + '</option>';}
	}	
	content+='</select>';
	document.getElementById('tops').innerHTML = content;
</SCRIPT>
             </SELECT><INPUT class=sb style="WIDTH: 39px; HEIGHT: 21px" type=submit value=搜索></TD></TR></TBODY></TABLE></TD></TR></FORM></TBODY></TABLE>
<SCRIPT>
bd_chg_idx(bd_idx);
</SCRIPT>
</BODY></HTML>
